Termination Proof Script

Consider the TRS R consisting of the rewrite rules
1:    msort(nil)  → nil
2:    msort(x . y)  → min(x,y) . msort(del(min(x,y),x . y))
3:    min(x,nil)  → x
4:    min(x,y . z)  → if(x y,min(x,z),min(y,z))
5:    del(x,nil)  → nil
6:    del(x,y . z)  → if(x = y,z,y . del(x,z))
There are 6 dependency pairs:
7:    MSORT(x . y)  → MSORT(del(min(x,y),x . y))
8:    MSORT(x . y)  → DEL(min(x,y),x . y)
9:    MSORT(x . y)  → MIN(x,y)
10:    MIN(x,y . z)  → MIN(x,z)
11:    MIN(x,y . z)  → MIN(y,z)
12:    DEL(x,y . z)  → DEL(x,z)
The approximated dependency graph contains 3 SCCs: {12}, {10,11} and {7}. Hence the TRS is terminating.
Tyrolean Termination Tool  (0.74 seconds)   ---  May 3, 2006